<?php
declare(strict_types=1);

namespace app\shop\enums\notify;

use app\shop\enums\BaseEnum;

class NotifyMessageType extends BaseEnum
{
    public const ORDER = 'order';

    public const ORDER_CANCEL = 'order_cancel';

    public const ORDER_REFUND = 'order_refund';

    public const ORDER_EXPORT = 'order_export';

    public const LOW_STOCK = 'low_stock';

    protected static array $descriptions = [
        self::ORDER        => '新订单通知',
        self::ORDER_CANCEL => '订单取消通知',
        self::ORDER_REFUND => '订单售后通知',
        self::ORDER_EXPORT => '订单导出通知',
        self::LOW_STOCK    => '库存不足通知',
    ];
}